package com.guidance.guidance.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import com.guidance.guidance.domain.User;

public interface UserRepository extends JpaRepository<User, String>{
	
	//通过手机号码查询一条记录
	public User findByTelephone(String telephone);
	
	//通过uid查询一条记录
	public User findByUid(String uid);
}
